/**
 * Ningping Gou 
 * Date: 12-6-21
 */
package cn.gnp.framework.rop.session;

import java.util.HashMap;
import java.util.Map;

/**
 * <pre>
 * 功能说明：
 * </pre>
 *
 * @author Ningping Gou
 * @version 1.0
 */
public class SimpleSession implements Session {

    private Map<String, Object> attributes = new HashMap<String, Object>();

    public void setAttribute(String name, Object obj) {
        attributes.put(name, obj);
    }

    public Object getAttribute(String name) {
        return attributes.get(name);
    }
}

